package kr.ac.pusan.cse.hts.common.data;

import java.io.Serializable;

public class OrderType implements Serializable{
	private static final long serialVersionUID = -3844821534979888822L;
	public static final OrderType NORMAL_BUY = new OrderType(0, "NormalBuy");
	public static final OrderType NORMAL_SELL = new OrderType(1, "NormalSell");
	public static final OrderType RESERVED_BUY = new OrderType(2, "ReservedBuy");
	public static final OrderType RESERVED_SELL = new OrderType(3, "ReservedSell");
	private int type;
	private String name;
	private OrderType(int type, String name){
		this.type = type;
		this.name = name;
	}
	public String getName(){
		return name;
	}
	public int getType(){
		return type;
	}
}
